type triangle_tree =
    Null
  | Node of (triangle_tree * Geometry.trianglei * triangle_tree)
val to_lin : int -> int -> int -> int
val sq2 : float
val calc_z : float * float -> float -> float -> float -> float
val get_implicit_triangle :
  int -> int -> (int -> int -> int) -> Geometry.trianglei
val write_face : out_channel -> Geometry.trianglei -> unit
val write_point :
  out_channel -> Geometry.vector -> float option array array -> float -> unit
val map_implicit_triangles :
  (int -> int -> int) ->
  (int -> int -> bool) -> (Geometry.trianglei -> unit) -> int -> int -> unit
val leaf_map : (Geometry.trianglei -> unit) -> triangle_tree -> unit
val insert_childs_f :
  (Geometry.trianglei -> bool) ->
  (Geometry.trianglei -> triangle_tree) -> triangle_tree -> triangle_tree
val tree_map : (Geometry.trianglei -> bool) -> triangle_tree -> unit
val write_infected_triangles :
  out_channel -> triangle_tree array array -> int -> int -> bool
val kill_0disk : float array array -> int -> int -> int -> int -> int -> unit
val pt_in_rect :
  Geometry.point ->
  int ->
  int ->
  int ->
  (int -> int -> int) ->
  (int -> Geometry.point) -> (int * int) * (int * int) * int * int
val infect_triangle :
  int * int ->
  Geometry.point DynArray.dynArray ->
  int -> int -> int -> int -> 'a -> 'b -> triangle_tree array array -> unit
val get_precision : string -> bool * bool * float * int
exception TesselatorExp
val write_triangles_with_infected :
  string ->
  (float * float) array array ->
  float array array ->
  int -> int -> float -> int -> float -> float option array array
